package net.bezrabotnih.server.domain;

import javax.validation.constraints.NotNull;

import org.springframework.roo.addon.entity.RooEntity;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;

@RooJavaBean
@RooToString
@RooEntity(identifierType = String.class,identifierField="id")
public class Thumbnail {

	@NotNull
	private String fileName;
	@NotNull
	private Photo photo;
	@NotNull
	private Integer height;
	@NotNull
	private Integer width;
	
	private String about;
	
	
}
